package com.ict.web.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;


/**
 * 机构管理信息对象 yzq_organization_management
 *
 * @author liujie
 * @date 2022-02-18
 */
@Data
@TableName("yzq_organization_management")
public class OrganizationManagement
{
  private static final long serialVersionUID = 1L;

  public static final String DELETE_STATUS_NORMAL = "0";
  public static final String DELETE_STATUS_UNNORMAL = "1";

  /** 机构Id */
  @ApiModelProperty(value = "机构Id")
  @JsonFormat(shape = JsonFormat.Shape.STRING)
  @TableId(value = "orm_id",type = IdType.INPUT)
  private Long ormId;

  /** 机构名称 */
  @Excel(name = "机构名称")
  private String organizationName;

  /** 机构类型 */
  @Excel(name = "机构类型")
  private String organizationType;

  /** 联系人 */
  @Excel(name = "联系人")
  private String contacts;

  /** 联系电话 */
  @Excel(name = "联系电话")
  private String contactNumber;

  /** 传真 */
  @Excel(name = "传真")
  private String fax;

  /** 联系地址 */
  @Excel(name = "联系地址")
  private String address;

  @ApiModelProperty(value = "创建时间")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createTime;

  @ApiModelProperty(value = "修改时间")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date updateTime;

  /** 逻辑删除：{0:正常;1:删除} */
  @Excel(name = "逻辑删除：{0:正常;1:删除}")
  @ApiModelProperty(value = "删除标识（0：正常，1：删除）")
  private String isDelete;

    @ApiModelProperty(value = "部门ID")
    private Long deptId;
}
